SERVER=Server
CLIENT=Client
SERVER_SRC=Server.cc
CLIENT_SRC=Client.cc
CC=g++

.PHONY:all
all:$(SERVER) $(CLIENT)

$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^

$(CLIENT):$(CLIENT_SRC)
	$(CC) -o $@ $^

.PHONY:clean
clean:
	rm -f $(SERVER) $(CLIENT)